#include "./Graph/Graph.h"
#include "./Graph/Vertex.h"
#include "./Graph/Edge.h"

void Graph_Test()
{
	CGraph* pGraph = new CGraph;
	pGraph->InsertVertex("a");
	pGraph->InsertVertex("b");
	pGraph->InsertVertex("c");
	pGraph->InsertVertex("d");
	pGraph->RemoveVertex("a");
	pGraph->InsertVertex("a");
	pGraph->PrintAllVertex();
	pGraph->InsertEdge("a", "c");
	pGraph->InsertEdge("b", "c");
	pGraph->InsertEdge("d", "c");
	pGraph->RemoveEdge("a", "d");
	pGraph->PrintAllEdge();
	delete pGraph;
}
